<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div>
        <form action="/adddata" method="post">
            商品名称:<input type="text" name="goodsName"><br>
            商品介绍:<input type="text" name="goodsDetails"><br>
            商品单价:<input type="text" name="price"><br>
            商品数量:<input type="text" name="number"><br>
            <input type="hidden" name="username">
            <input type="submit" value="添加">
        </form>
    </div>
</body>
<script src="/js/add.js" type="module"></script>
</html>